package Campus.help.user.service;

import Campus.help.common.exception.payException;
import Campus.help.common.utils.R;

import java.math.BigDecimal;

public interface UserCountService {
    R getMoney();

    R addMoney(BigDecimal amount);

    R payForMoney(BigDecimal amount) throws payException;

    int initCount(long userid);

    R returnMoney(BigDecimal amount,Long userId) throws payException;

    R complete(Long userId, BigDecimal amount);
}
